import Vue from 'vue'
import App from './App.vue'
import router from './router'
import './plugins/element.js'
import VueAMap from 'vue-amap'
import Blob from "@/excel/Blob.js"
import Export2Excel from "@/excel/Export2Excel.js"

Vue.config.productionTip = false
Vue.use(VueAMap);

//初始化vue-amap
VueAMap.initAMapApiLoader({
    // 高德的key907f6ccaba07eccc652c9e7962567724
    //   key: '5e9d0351eb89765dbea190b75b8bf30b',
    key: '907f6ccaba07eccc652c9e7962567724',
    // 插件集合
    
    // plugin: ['Geolocation', 'AMap.Autocomplete', 'AMap.PlaceSearch', 'AMap.Scale', 'AMap.OverView', 'AMap.ToolBar', 'AMap.MapType', 'AMap.PolyEditor', 'AMap.CircleEditor'],
    // plugin: ['AMap.Autocomplete', 'AMap.PlaceSearch', 'AMap.Scale', 'AMap.OverView', 'AMap.ToolBar', 'AMap.MapType', 'AMap.PolyEditor', 'AMap.CircleEditor'],
    //坐标转地址服务， Geocoder ，在地图初始化的时候引入
    // plugin: ['Geocoder', 'AMap.Autocomplete', 'AMap.PlaceSearch', 'AMap.Scale', 'AMap.OverView', 'AMap.ToolBar', 'AMap.MapType', 'AMap.PolyEditor', 'AMap.CircleEditor'],
    // plugin: ['Geolocation', 'Geocoder', 'Autocomplete', 'PlaceSearch', 'Scale', 'OverView', 'ToolBar', 'MapType', 'PolyEditor', 'AMap.CircleEditor'],
    // 高德 sdk 版本，默认为 1.4.4
    v: '1.4.15'
});
new Vue({
    router,
    render: h => h(App)
}).$mount('#app')




